import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const BLEND: AppRouteRecordRaw = {
  path: '/blend',
  name: 'blend',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '勾兑',
    icon: 'icon-archive',
    requiresAuth: true,
    order: 8,
  },
  children: [
    {
      path: 'winepro',
      name: 'winepro',
      component: () => import('@/views/blend/winepro/index.vue'),
      meta: {
        locale: '原酒产量',
        requiresAuth: true,
        roles: ['blend','admin'],
      },
    },
    {
      path: 'wineinven',
      name: 'wineinven',
      component: () => import('@/views/blend/inven/index.vue'),
      meta: {
        locale: '原酒库存',
        requiresAuth: true,
        roles: ['blend','admin'],
      },
    },
  ],
};

export default BLEND;
